package hy.service;

import hy.beans.Product;
import hy.beans.Result;

import java.util.List;
import java.util.Map;

public interface ProductService {
    List<Product> getAllProducts();
    Result addCart(String phone, String productId);
    String createOrder(String phone)throws Exception;
    String transac(Map<String, String> map_cart)throws Exception;
}